<?php
    include_once("../initial.php");
    include_once("../logic/homepageLogic.php");
    require_once("../checkLogin.php");
		if($login==true)
		{
				$smarty->assign("userId", $uid);
				$smarty->assign("unReadNum", $unReadNum);
				$smarty->assign("projectUrl", constant('PROJECT_URL'));
		    $smarty->assign("currentUrl","download/download.php");
		    $smarty->display("download/download.html");
		}
?>
